import * as React from 'react';

export default class Home extends React.Component<any, any> {
    render(): React.ReactNode {
        return (
            <div>
                <h1>欢迎来到首页</h1>
                <p onClick={this.SkipTo.bind(this)}>前往游戏页</p>
            </div>
        )
    }
    SkipTo(){
        this.props.history.push('/game');
    }
}
